From e39bb5c4df81e4c8f05cf9ba48aaebe355f4971f Mon Sep 17 00:00:00 2001 From: "awilliam@xenbuild.aw" Date: Mon, 2 Oct 2006 21:32:46 -0600 Subject: [PATCH] [IA64] avoid long time interrupt masking. flush_vtlb_fro_context_switch() can be executed with interrupt enabled. Signed-off-by: Isaku Yamahata --- xen/arch/ia64/xen/domain.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xen/arch/ia64/xen/domain.c b/xen/arch/ia64/xen/domain.c index c024e2ae0c..5681620466 100644 --- a/xen/arch/ia64/xen/domain.c +++ b/xen/arch/ia64/xen/domain.c @@ -190,8 +190,8 @@ void context_switch(struct vcpu *prev, struct vcpu *next) __ia64_per_cpu_var(current_psr_ic_addr) = NULL; } } - flush_vtlb_for_context_switch(current); local_irq_restore(spsr); + flush_vtlb_for_context_switch(current); context_saved(prev); } -- 2.30.2